package com.cctc.rds.scheduler.server.config.helper;

import com.cctc.rds.scheduler.server.config.ApplicationConfig;

public class ApplicationConfigHolder {
    volatile private static ApplicationConfig CONFIG;

    public synchronized static void holdApplicationConfig(ApplicationConfig config) {
        CONFIG = config;
    }

    public static ApplicationConfig getApplicationConfig() {
        return CONFIG;
    }

}
